package com.sosteam.application;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class Menu extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.menu);

        Button logoutButton = (Button) findViewById(R.id.button_logout);
        logoutButton.setOnClickListener(new Button.OnClickListener(){
            public void onClick(View v){
                    Intent intent = new Intent(Menu.this,MainMenu.class);
                    startActivity(intent);
                }
            }
        );
    }
}